package ${package_pojo};
<#if swagger==true>
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
</#if>
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
<#list typeSet as set>
import ${set};
</#list>
/**
 * <pre>
 * @描述：${Table}的数据库表
 * @作者：${NAME}
 * @创建时间： ${DATE}
 * </pre>
 **/
<#if swagger==true>
@ApiModel(description = "${TableEntity}",value = "${Table}")
</#if>
@TableName(value="${TableName}")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ${TableEntity} implements Serializable{

<#list models as model>
	/**
	 * ${model.desc!""}
	 */
	<#if swagger==true>
	@ApiModelProperty(value = "${model.desc!""}",required = false)
	</#if>
	<#if model.id==true>
    @TableId(type = IdType.AUTO)
	</#if>
    @TableField(value = "${model.column}")
	private ${model.simpleType} ${model.name};

</#list>

}
